package com.xinzhi.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
@TableName("transfer_record")
public class TransferRecord {
    /**
     *
     * @param senderBankAccount    发送者银行账号
     * @param receiverName         接收者姓名
     * @param receiverBankAccount  接收者银行账号
     * @param amount               转账金额
     * @param amountInCurrency     转账对应的货币金额
     * @param exchangeRate         汇率
     * @param fee                  转账手续费
     * @param description          转账通过什么
     * @param currency             货币类型
     * @param status                支付方式
     * @param description          转账描述
     * @param currency             货币类型
     * @return 返回转账初始化成功的消息
     */
    private Long id;

    private String senderBankAccount;

    private String receiverName;

    private String receiverBankAccount;

    private BigDecimal amount;

    private BigDecimal amountInCurrency;

    private BigDecimal exchangeRate;

    private Timestamp transferTime;

    private String status;

    private BigDecimal fee;

    private String description;

    private String currency;

}
